﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search.aspx.cs" MasterPageFile="~/MasterPage.master" Inherits="Search"%>

<asp:Content ID="Content1" ContentPlaceHolderID="SectionPlaceHolder" Runat="Server" >

                <asp:button runat="server"  text="Current Search" CssClass="content_btn" BackColor="White" Height="30"
                            BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="Black" />

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server" >

     <b><h2><asp:label runat="server" id="searchHeaderLabel" text="Search Results for XXX" /></h2></b>
    
    <p>
        <asp:label runat="server" id="multimediaDescriptionLabel" text="Check out some of the artists that match your search criteria below." />
    </p>

    <!-- Create a custom message for search items found -->
    <br />
        <div class="headerLightStyle">
        <asp:label runat="server" id="searchMessage" />
    </div>

    <!-- Display the database ------------- -->
    
    <asp:Repeater id="MusicianRepeater" runat="Server" EnableViewState="false">
        <ItemTemplate> 
            <div style="height:120px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:Black">
                <div style='float:left;width:100px;height:100px'>
                    <asp:ImageButton runat="server" imageurl='<%#Eval("picture") %>' width="90" height= "90" 
                        cssclass="large-picture-margins" oncommand="searchResultClick" commandargument='<%#Eval("uid")%>' />
                </div>

               <div style='float:right;width:400px;height:100px'>
                    <center>
                        <div style='height:20px'> </div>
                        <div  style='background-color:#627AAD;width:300px; border-style: solid; border-color: Black; border-width: 1px;'>
                            <!-- Band Name -->
                            <b>
                                <asp:button runat="server" text='<%#Eval("Name") %>' CssClass="content_btn" BackColor="#627AAD"
                                            BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="White"
                                            commandargument='<%#Eval("uid")%>' oncommand="searchResultClick"  />
                            </b>
                
                            <p />
                            <!-- Tags -->
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("label") %>' /><br />
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("tag1") %>' /> &nbsp; 
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("tag2") %>' /> &nbsp; 
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("tag3") %>' /> &nbsp;
                        </div>
                    </center>
                </div>
            </div>      
        </ItemTemplate>
        <AlternatingItemTemplate> 
            <div style="height:120px;background-color: #EDEFF4;;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:Black"">
                <div style='float:left;width:100px;height:100px'>
                    <asp:ImageButton runat="server" imageurl='<%#Eval("picture") %>' width="90" height= "90" 
                        cssclass="large-picture-margins" oncommand="searchResultClick" commandargument='<%#Eval("uid")%>' />
                </div>

               <div style='float:right;width:400px;height:100px'>
                    <center>
                        <div style='height:20px'> </div>
                        <div  style='background-color:#627AAD;width:300px; border-style: solid; border-color: Black; border-width: 1px;'>
                            <!-- Band Name -->
                            <b>
                                <asp:button runat="server" text='<%#Eval("Name") %>' CssClass="content_btn" BackColor="#627AAD"
                                            BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="White"
                                            commandargument='<%#Eval("uid")%>' oncommand="searchResultClick"  />
                            </b>
                
                            <p />
                            <!-- Tags -->
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("label") %>' /><br />
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("tag1") %>' /> &nbsp; 
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("tag2") %>' /> &nbsp; 
                            <asp:Label runat="server" ForeColor="White" Text='<%#Eval("tag3") %>' /> &nbsp;
                        </div>
                    </center>
                </div>
            </div>      
        </AlternatingItemTemplate>
                          
    </asp:Repeater>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="SideBarPlaceHolder" Runat="Server" >

</asp:Content>